package com.icode.dao;

import com.icode.core.model.house.Assignment;
import com.icode.core.model.house.MyHouse;
import com.icode.core.model.house.MyHouseStatus;
import com.icode.dao.EntityDao;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sunk
 * Date: 15-11-15
 * Time: 下午10:11
 * To change this template use File | Settings | File Templates.
 */
public interface AssignmentDao extends EntityDao {
    List<Assignment> findAssignmentByStatus(MyHouseStatus myHouseStatus);

    Assignment getAssignmentsByMyHouse( MyHouse myHouse);

    List<Assignment> findRentAllByPage(String currentPage, String status);
}
